package cn.etgps.etgps.api;

import java.util.HashMap;

import cn.etgps.etgps.dataEntity.BaseBean;
import cn.etgps.etgps.dataEntity.VehicleDetailBean;
import cn.etgps.etgps.dataEntity.VehicleInfoBean;
import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

/**
 * Created by itte on 2016/3/28.
 */
public interface AppHttpApi {
    /** 车辆列表接口 **/
    @GET("GetVehicleInfo.ashx")
    Observable<VehicleInfoBean> getVehicleInfo(@QueryMap HashMap<String, String> map);

    /** 行车日志记录接口 **/
    @GET("SaveVehicleRunLog.ashx")
    Observable<BaseBean> saveRunlog(@QueryMap HashMap<String, String> map);

    /** 车辆信息接口 **/
    @GET("GetVehicleDetailedInfo.ashx")
    Observable<VehicleDetailBean> getVehicleDetailedInfo(@QueryMap HashMap<String, String> map);
}
